import { Base } from '../../utils/Base.js';
class Theme extends Base 
{
  constructor() {
    super();
  }

  //获取主题下的商品列表
  getProductsData(id,callback){
    var that = this;
    var param = {
      url: 'theme/'+id,
      sCallback: function (data) {
        data = data.data;
        callback && callback(data);
      }
    };
    this.request(param);
  }
}
export {Theme};